<%@page import="bean.MemberDTO"%>
<%@page import="bean.MemberVo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>modify.jsp</title>
<link rel='stylesheet' href='./css/member.css'/>
<script src='./js/member.js'></script>
</head>
<body>
<jsp:useBean id="vo" class="bean.MemberVo" scope="page"/>
<jsp:setProperty property="*" name="vo"/>
<%
String folder="./memberPhoto/";
MemberDTO dto = new MemberDTO();
dto.setVo(vo);
MemberVo v = dto.selectOne();
%>
<h1>회원정보 수정</h1>
<form name='memberFrm' method='post' action='modify_result.jsp' enctype='multipart/form-data'>
	<label>아이디 : </label><input type='text' name='mid' readonly value='<%=v.getMid()%>'><br/>
	<label>성명 : </label><input type='text' name='irum' value='<%=v.getIrum()%>'><br/>
	<label>사진 :<%=v.getPhoto()%></label><br/>
	<img src='<%=folder%><%=v.getPhoto()%>'><p/>
	<label>사진수정</label><input type='file' name='photo'>
	<p/>
	<input type='button' value='저장'       id='btnSave'/>
	<input type='button' value='게시판 작성 ' id='btnInput'/>
	<input type='button' value='보기'       id='btnView'/>
	<input type='button' value='목록으로'    id='btnList'/>
	<input type='hidden' name='nowPage' value="<%=v.getNowPage() %>">
	<input type='hidden' name='find' value='<%=v.getFind()%>'>
	<input type='hidden' name='oldPhoto' value='<%=v.getPhoto()%>'>
</form>
<script>modifyInit();</script>

</body>
</html>